Optimal. Leaf size=104 \[ -\frac {b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac {3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac {(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac {(a+b)^2 (a+4 b) \coth (c+d x)}{d}+\frac {b^3 \tanh ^5(c+d x)}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {4132, 448} \[ -\frac {b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac {3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac {(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac {(a+b)^2 (a+4 b) \coth (c+d x)}{d}+\frac {b^3 \tanh ^5(c+d x)}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 448
Rule 4132
Rubi steps
\begin {align*} \int \text {csch}^4(c+d x) \left (a+b \text {sech}^2(c+d x)\right )^3 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (1-x^2\right ) \left (a+b-b x^2\right )^3}{x^4} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \left (3 b (a+b) (a+2 b)+\frac {(a+b)^3}{x^4}-\frac {(a+b)^2 (a+4 b)}{x^2}-b^2 (3 a+4 b) x^2+b^3 x^4\right ) \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {(a+b)^2 (a+4 b) \coth (c+d x)}{d}-\frac {(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac {3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac {b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac {b^3 \tanh ^5(c+d x)}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 2.47, size = 213, normalized size = 2.05 \[ -\frac {8 \tanh (c) \text {sech}^5(c+d x) \left (a \cosh ^2(c+d x)+b\right )^3 \left (\text {csch}(c) \sinh (d x) \cosh ^4(c+d x) \left (5 (a+b)^2 (2 a+11 b) \coth (c) \coth (c+d x)-b \left (45 a^2+120 a b+73 b^2\right )\right )+\cosh ^3(c+d x) \left (5 (a+b)^3 \coth ^2(c) \coth ^2(c+d x)-b^2 (15 a+14 b)\right )-\text {csch}(c) \sinh (d x) \cosh ^2(c+d x) \left (b^2 (15 a+14 b)+5 (a+b)^3 \coth (c) \coth ^3(c+d x)\right )-3 b^3 \cosh (c+d x)-3 b^3 \text {csch}(c) \sinh (d x)\right )}{15 d (a \cosh (2 (c+d x))+a+2 b)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.59, size = 955, normalized size = 9.18 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.19, size = 355, normalized size = 3.41 \[ \frac {2 \, {\left (\frac {5 \, {\left (9 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} + 18 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 9 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} - 6 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - 36 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} - 54 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} - 24 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a^{3} + 15 \, a^{2} b + 24 \, a b^{2} + 11 \, b^{3}\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}} - \frac {45 \, a^{2} b e^{\left (8 \, d x + 8 \, c\right )} + 90 \, a b^{2} e^{\left (8 \, d x + 8 \, c\right )} + 45 \, b^{3} e^{\left (8 \, d x + 8 \, c\right )} + 180 \, a^{2} b e^{\left (6 \, d x + 6 \, c\right )} + 450 \, a b^{2} e^{\left (6 \, d x + 6 \, c\right )} + 240 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} + 270 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} + 750 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 490 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 180 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} + 510 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} + 320 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 45 \, a^{2} b + 120 \, a b^{2} + 73 \, b^{3}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}^{5}}\right )}}{15 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.66, size = 213, normalized size = 2.05 \[ \frac {a^{3} \left (\frac {2}{3}-\frac {\mathrm {csch}\left (d x +c \right )^{2}}{3}\right ) \coth \left (d x +c \right )+3 a^{2} b \left (-\frac {1}{3 \sinh \left (d x +c \right )^{3} \cosh \left (d x +c \right )}+\frac {4}{3 \sinh \left (d x +c \right ) \cosh \left (d x +c \right )}+\frac {8 \tanh \left (d x +c \right )}{3}\right )+3 a \,b^{2} \left (-\frac {1}{3 \sinh \left (d x +c \right )^{3} \cosh \left (d x +c \right )^{3}}+\frac {2}{\sinh \left (d x +c \right ) \cosh \left (d x +c \right )^{3}}+8 \left (\frac {2}{3}+\frac {\mathrm {sech}\left (d x +c \right )^{2}}{3}\right ) \tanh \left (d x +c \right )\right )+b^{3} \left (-\frac {1}{3 \sinh \left (d x +c \right )^{3} \cosh \left (d x +c \right )^{5}}+\frac {8}{3 \sinh \left (d x +c \right ) \cosh \left (d x +c \right )^{5}}+16 \left (\frac {8}{15}+\frac {\mathrm {sech}\left (d x +c \right )^{4}}{5}+\frac {4 \mathrm {sech}\left (d x +c \right )^{2}}{15}\right ) \tanh \left (d x +c \right )\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.34, size = 664, normalized size = 6.38 \[ \frac {4}{3} \, a^{3} {\left (\frac {3 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}} - \frac {1}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}}\right )} + \frac {256}{15} \, b^{3} {\left (\frac {2 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-4 \, d x - 4 \, c\right )} - 6 \, e^{\left (-6 \, d x - 6 \, c\right )} + 6 \, e^{\left (-10 \, d x - 10 \, c\right )} + 2 \, e^{\left (-12 \, d x - 12 \, c\right )} - 2 \, e^{\left (-14 \, d x - 14 \, c\right )} - e^{\left (-16 \, d x - 16 \, c\right )} + 1\right )}} - \frac {2 \, e^{\left (-4 \, d x - 4 \, c\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-4 \, d x - 4 \, c\right )} - 6 \, e^{\left (-6 \, d x - 6 \, c\right )} + 6 \, e^{\left (-10 \, d x - 10 \, c\right )} + 2 \, e^{\left (-12 \, d x - 12 \, c\right )} - 2 \, e^{\left (-14 \, d x - 14 \, c\right )} - e^{\left (-16 \, d x - 16 \, c\right )} + 1\right )}} - \frac {6 \, e^{\left (-6 \, d x - 6 \, c\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-4 \, d x - 4 \, c\right )} - 6 \, e^{\left (-6 \, d x - 6 \, c\right )} + 6 \, e^{\left (-10 \, d x - 10 \, c\right )} + 2 \, e^{\left (-12 \, d x - 12 \, c\right )} - 2 \, e^{\left (-14 \, d x - 14 \, c\right )} - e^{\left (-16 \, d x - 16 \, c\right )} + 1\right )}} + \frac {1}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-4 \, d x - 4 \, c\right )} - 6 \, e^{\left (-6 \, d x - 6 \, c\right )} + 6 \, e^{\left (-10 \, d x - 10 \, c\right )} + 2 \, e^{\left (-12 \, d x - 12 \, c\right )} - 2 \, e^{\left (-14 \, d x - 14 \, c\right )} - e^{\left (-16 \, d x - 16 \, c\right )} + 1\right )}}\right )} + 16 \, a^{2} b {\left (\frac {2 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-6 \, d x - 6 \, c\right )} + e^{\left (-8 \, d x - 8 \, c\right )} - 1\right )}} - \frac {1}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, e^{\left (-6 \, d x - 6 \, c\right )} + e^{\left (-8 \, d x - 8 \, c\right )} - 1\right )}}\right )} + 32 \, a b^{2} {\left (\frac {3 \, e^{\left (-4 \, d x - 4 \, c\right )}}{d {\left (3 \, e^{\left (-4 \, d x - 4 \, c\right )} - 3 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-12 \, d x - 12 \, c\right )} - 1\right )}} - \frac {1}{d {\left (3 \, e^{\left (-4 \, d x - 4 \, c\right )} - 3 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-12 \, d x - 12 \, c\right )} - 1\right )}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.60, size = 745, normalized size = 7.16 \[ \frac {6\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )}-\frac {\frac {2\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}+\frac {6\,{\mathrm {e}}^{6\,c+6\,d\,x}\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d}+\frac {6\,{\mathrm {e}}^{4\,c+4\,d\,x}\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}+\frac {2\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (9\,a^2\,b+30\,a\,b^2+25\,b^3\right )}{5\,d}}{4\,{\mathrm {e}}^{2\,c+2\,d\,x}+6\,{\mathrm {e}}^{4\,c+4\,d\,x}+4\,{\mathrm {e}}^{6\,c+6\,d\,x}+{\mathrm {e}}^{8\,c+8\,d\,x}+1}-\frac {\frac {6\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d}+\frac {6\,{\mathrm {e}}^{8\,c+8\,d\,x}\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d}+\frac {8\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}+\frac {8\,{\mathrm {e}}^{6\,c+6\,d\,x}\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}+\frac {4\,{\mathrm {e}}^{4\,c+4\,d\,x}\,\left (9\,a^2\,b+30\,a\,b^2+25\,b^3\right )}{5\,d}}{5\,{\mathrm {e}}^{2\,c+2\,d\,x}+10\,{\mathrm {e}}^{4\,c+4\,d\,x}+10\,{\mathrm {e}}^{6\,c+6\,d\,x}+5\,{\mathrm {e}}^{8\,c+8\,d\,x}+{\mathrm {e}}^{10\,c+10\,d\,x}+1}-\frac {\frac {2\,\left (9\,a^2\,b+30\,a\,b^2+25\,b^3\right )}{15\,d}+\frac {6\,{\mathrm {e}}^{4\,c+4\,d\,x}\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d}+\frac {4\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}}{3\,{\mathrm {e}}^{2\,c+2\,d\,x}+3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}+1}-\frac {4\,\left (a^3+3\,a^2\,b+3\,a\,b^2+b^3\right )}{d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}-\frac {\frac {2\,\left (3\,a^2\,b+9\,a\,b^2+5\,b^3\right )}{5\,d}+\frac {6\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d}}{2\,{\mathrm {e}}^{2\,c+2\,d\,x}+{\mathrm {e}}^{4\,c+4\,d\,x}+1}-\frac {6\,\left (a^2\,b+2\,a\,b^2+b^3\right )}{5\,d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}-\frac {8\,\left (a^3+3\,a^2\,b+3\,a\,b^2+b^3\right )}{3\,d\,\left (3\,{\mathrm {e}}^{2\,c+2\,d\,x}-3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \operatorname {sech}^{2}{\left (c + d x \right )}\right )^{3} \operatorname {csch}^{4}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________